FROM python:3.11-alpine

RUN pip3 install 'pyjwt>=2.4.0,<3' 'flask>=2.2.3' "python-box>=6,<7"

ENV FLASK_DEBUG=1
ENV PYTHONUNBUFFERED=0


COPY server.py /

ENV FLASK_APP=/server.py

CMD ["flask", "run", "--host=0.0.0.0"]
